package com.sinosoft.tcmneim.service.impl;

import com.sinosoft.tcmneim.dao.TblDisecorolLargepmentDao;
import com.sinosoft.tcmneim.dataObject.TblDisecorolLargepment;
import com.sinosoft.tcmneim.service.TblDisecorolLargepmentService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class TblDisecorolLargepmentServiceImpl implements TblDisecorolLargepmentService {
    @Resource
    private TblDisecorolLargepmentDao tblDisecorolLargepmentDao;


    @Override
    public List<TblDisecorolLargepment> list() {
        return tblDisecorolLargepmentDao.list();
    }

    @Override
    public List<TblDisecorolLargepment> selectByItemCode(String itemCode) {
        return tblDisecorolLargepmentDao.selectByItemCode(itemCode);
    }

    @Override
    public int insertSelective(TblDisecorolLargepment tblDisecorolLargepment) {
        return tblDisecorolLargepmentDao.insert(tblDisecorolLargepment);
    }

    @Override
    public int updated(TblDisecorolLargepment tblDisecorolLargepment) {
        return tblDisecorolLargepmentDao.updated(tblDisecorolLargepment);
    }

    @Override
    public int deleteByItemCode(String itemCode) {
        return tblDisecorolLargepmentDao.deleteByItemCode(itemCode);
    }
}
